package com.iran.builder;

/**
 * 具体的建造者A ConcreteBuild
 */
public class BuildA extends Builder {
    Product productA = new Product();
    @Override
    public void buildPartA() {
        productA.add("AA");
    }

    @Override
    public void buildPartB() {
        productA.add("AB");
    }

    @Override
    public Product getResult() {
        return productA;
    }
}
